package org.vectrics.client.webclient;



import java.io.InputStream;
import java.util.Properties;
import org.vectrics.VectricsException;

public interface ServerCommand {
	public ResponseResult processResponse(ServiceConnection connection, InputStream responseStream)
			 throws VectricsException;
	public CommandResponseStatus getResponseStatus();
	public void connectionError(String info);
	public void setError(String error);
	public String getCommandCode();
	public void getParameters(ServiceConnection serverConnection, Properties params);
	public void forceAuthentication();
}